package szwolaiyun.paireach.com.szwolaizhuang.fragment;

import android.os.Bundle;
import android.os.Handler;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import szwolaiyun.paireach.com.szwolaizhuang.R;
import szwolaiyun.paireach.com.szwolaizhuang.util.MessageInfoUtil;

/**
 * Created by Administrator on 2016/7/20.
 */
public class FinishWorkFragment extends Fragment {
    private View view;
    private Handler handler;
    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        view=inflater.inflate(R.layout.fragment_finish_work,null);
        return view;
    }

    public void setHandle(Handler handler){
        this.handler=handler;
    }

    public void goBack(){
        handler.sendEmptyMessage(MessageInfoUtil.TO_HOME);
    }
}
